Make color picker circular
authorMatthias Clasen <mclasen@redhat.com>
Sun, 5 Aug 2018 01:39:10 +0000 (21:39 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 5 Aug 2018 01:42:28 +0000 (21:42 -0400)
The need for center alignment was pointed out by Timm Baeder.

gtk/ui/gtkcoloreditor.ui

index 6840a276dbcb710ceec98d9d6296eaf3c6503f3e..4f7f90a4050f3be78751368c8546b719024a5b48 100644 (file)
@@ -41,6 +41,8 @@
             <child>
               <object class="GtkButton" id="picker_button">
                 <property name="icon-name">color-select-symbolic</property>
+                <property name="halign">center</property>
+                <property name="valign">center</property>
                 <property name="tooltip-text" translatable="yes">Pick a color from the screen</property>
                 <signal name="clicked" handler="pick_color"/>
                 <style>